//
// C++ Interface: runningapp
//
// Description:
//
//
// Author: Ernesto Barragan <ernestus *at* gmail.com>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef RUNNINGAPP_H
#define RUNNINGAPP_H

#include <QString>
#include <QIcon>
#include <X11/Xlib.h>
#include <QX11Info>
/**
Holds information about a running application. Used in the "task tab"
(the equivalent of a "task bar").

	@author Ernesto Barragan <ernestus *at* gmail.com>
*/
class RunningApp
{
public:
    RunningApp( Window xWin, Display* xDisplay = 0 );
    ~RunningApp() ;
    bool closeAllWindows() { return false; } ;
    bool closeApplication() { return false; } ;
    bool killApplication() { return false; } ;

    QString name() ;
    QIcon icon() ;

private:
    Window   m_xWindow ;
    Display* m_xDisplay ;
    //QString  m_topWindowString ;
    //QIcon    m_topWindowIcon ;
};

#endif
